using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.ObjectBuilder;
using Microsoft.Practices.CompositeWeb;

namespace TestWCSFSitemaps.Statements.Views
{
    public class DefaultViewPresenter : Presenter<IDefaultView>
    {
        private IStatementsController _controller;

        public DefaultViewPresenter([CreateNew] IStatementsController controller)
        {
            this._controller = controller;
        }

        public override void OnViewInitialized()
        {
            _controller.StartPageFlow();
        }

        public void GoToStart()
        {
            _controller.GoSeeX();
        }
    }
}
